<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div{
            color: red;
        }
        p{ color: green !important;}/*“important” 关键字 优先级最高 但对继承来讲不管用 间接选中无效*/
        #p1{color: pink}/*“id”选择器*/
    </style>
</head>
<body>
<div>这是div
    <p id="p1">这是p标签</p>
    <span>这是span</span>
    <a href="">这是超链接</a>
</div>
</body>
</html>